//
//  WzzVisitorVc.m
//  Wb_oc
//
//  Created by wzz on 16/7/21.
//  Copyright © 2016年 wzz. All rights reserved.
//

#import "WzzVisitorVc.h"

@interface WzzVisitorVc ()
@property (nonatomic , strong) UITableView * tableView;

@end

@implementation WzzVisitorVc

//懒加载视图
- (UITableView *)tableView{
    if (_tableView == nil) {
        _tableView = [[UITableView alloc]init];
    }
    return _tableView;
}



- (void)viewDidLoad {
    [super viewDidLoad];

//    self.view.backgroundColor = [UIColor greenColor];

 

    [self setupUI];
    
}


- (void)setupUI{
    
    self.navigationItem.leftBarButtonItem  = [[UIBarButtonItem alloc]initWithTitle:@"登录" style:UIBarButtonItemStylePlain target:self action:@selector(logClick)];
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"注册" style:UIBarButtonItemStylePlain target:self action:@selector(regClick)];
    
    
   
}

- (void)logClick{
    NSLog(@"登录");
}

- (void)regClick{
    NSLog(@"注册");
}

@end
